/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.alpha.system;

import com.alpha.parse.D6ForumParser;
import com.alpha.parse.ForumParser;
import java.util.*;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.htmlparser.Parser;
import org.htmlparser.filters.TagNameFilter;
import org.htmlparser.util.NodeList;
import org.htmlparser.util.ParserException;

/**
 *
 * @author alvar
 */
public class Forum {

    protected List<String> categoryList;
    protected Map<Integer, Map<Integer, String>> blockList;
    protected Map<Integer, Map<Integer, String>> subBlockList;
    protected String url;
    protected String forumName;
    protected ForumParser parser;

    public Forum(ForumParser parser) {
        this.url = url;
        init(parser);
    }

    private void init(ForumParser parser) {
        this.parser = parser;
        forumName = parser.getForumName();
        blockList = parser.getBlockList();
        subBlockList = parser.getSubBlockList();
        categoryList = parser.getCategoryList();
    }

    public String getUrl() {
        return null;
    }

    public List getCategoryList() {
        return categoryList;
    }

    public Map getBlockList() {
        return blockList;
    }

    public Map getSubBlockList() {
        return subBlockList;
    }
}
